//
//  ITTemp3Ctrl.m
//  coderSinaWeiBo24
//
//  Created by 张雪雪 on 16/3/25.
//  Copyright © 2016年 www.xue.com. All rights reserved.
//

#import "ITTemp3Ctrl.h"
#import "ITTemp2Ctrl.h"

@interface ITTemp3Ctrl ()

@end

@implementation ITTemp3Ctrl

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.title = @"第三个控制器";
    self.view.backgroundColor = [UIColor cyanColor];
    
//    self.navigationItem.leftBarButtonItem = [UIBarButtonItem itemWithImageName:@"navigationbar_back_withtext" title:@"返回" target:self action:@selector(back)];
}

//- (void)back{
//    [self.navigationController popViewControllerAnimated:YES];
//}
-(void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
    ITTemp2Ctrl *ctrl = [[ITTemp2Ctrl alloc]init];
    [self.navigationController pushViewController:ctrl animated:YES];


}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
